package com.example.mybatismappingtest.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;import java.util.Map;

@TableName(value = "ws_test")
@Data
public class WsTest implements Serializable {
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Integer id;

    @TableField(value = "json_data")
    private String jsonData;

    @TableField(value = "`name`")
    private String name;

    @TableField(value = "name_stored")
    private String nameStored;

    private static final long serialVersionUID = 1L;
}